package com.hdax.dm.item.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping(path = "/api")
public class ItemController {

    @PostMapping(path = "index/carousellineNav")
    public Map<String,Object> banner(){
        Map<String,Object> map = new HashMap<>();
        map.put("data",null);
        map.put("errorCode","0000");
        //.....
        return  null;
    }
}
